﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZSZ.DTO;
using ZSZ.Model;

namespace ZSZ.IService
{
    public partial interface IRoleService : IBaseService<Role>
    {

        RoleDTO[] GetAdminRoles(long adminId);
        RoleDTO[] GetRoles();

        RoleDTO GetDTOById(long id);

        long Add(string name,string description);
        void Update(long id,string name, string description);
    }
}
